$(function () {
	$('#chart3_2').highcharts({
        chart: {
            type: 'column'
        },
        title: {
            text: 'RTAT'
        },
        xAxis: {
            categories: ['3일↓', '5일', '5일↑']
        },
        yAxis: {
            min: 0,
            title: {
                text: '건수'
            },
            stackLabels: {
                enabled: true,
                style: {
                    fontWeight: 'bold',
                    color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'
                }
            }
        },
        legend: {
            //align: 'right',
            //x: -220,
            //verticalAlign: 'top',
            //y: 20,
            //floating: true,
            backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColorSolid) || 'white',
            borderColor: '#CCC',
            borderWidth: 1,
            shadow: false
        },
        tooltip: {
            formatter: function() {
                return '<b>'+ this.x +'</b><br/>'+
                    this.series.name +': '+ this.y +'<br/>'+
                    'Total: '+ this.point.stackTotal;
            }
        },
        plotOptions: {
            column: {
                stacking: 'normal',
                dataLabels: {
                    enabled: true,
                    color: (Highcharts.theme && Highcharts.theme.dataLabelsColor) || 'white'
                }
            },series: {
	            pointWidth: 50
	        }
        },
        series: [{
            name: 'EC',
            data: [3435, 1215, 2120]
        }, {
            name: 'MC',
            data: [1295, 523, 772]
        }]
	});
});